/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package umis2.nivel;

import java.awt.Point;

/**
 *
 * @author Jonatan Elias
 */
public class Arbol extends Plataforma {

    public static String RAIZ="raiz";
    public static String NUDO="nudo";
    public static String CONT="continuo";
    public static String DER="derecha";
    public static String IZQ="izquierda";
    private String tipo;
    
    public Arbol(Point point, String tipo){
        super(point);
        this.tipo=tipo;
    }

    @Override
    public double getAncho() {
        return 1;
    }

    @Override
    public double getAlto() {
        return 1;
    }

    public boolean colisiona() {
        return false;
    }

    public String getLlave() {
        return tipo;
    }


}
